package com.leyou.user.service.mapper;

import com.leyou.common.bean.IBaseMapper;
import com.leyou.user.inter.pojo.UserAdress;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface UserAdressMapper extends IBaseMapper<UserAdress> {

    @Update("update tb_user_adress set is_flag=0 where user_id=#{userId}")
    int updateUserAdress(@Param("userId") Long userId);

}